<?php

namespace App\Http\Requests\Admin;

use Illuminate\Foundation\Http\FormRequest;

class Qh_CdkeyRequest extends FormRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules(): array
    {
        return [
            'qlId' => 'bail|nullable|integer',
            'code' => 'bail|required|string',
        ];
    }
}
